<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/include/page.jsp"%>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>首页 - 用户中心-接口</title>
</head>
<body>
	${rootPath } --->
	<table width="80%" border="1">
		<tr>
			<td>名称</td>
			<td>请求</td>
			<td>响应体</td>
		</tr>
		<tr>
			<td>接口格式</td>
			<td>
				<form action="${rootPath }/outer/client.htm" method="post"
					target="blank">
					上行参数:
					<textarea rows="20" cols="100" name="json">
{
    /* 版本 */
	"version":"1",
	/* 方法名 */
	"method":"method",
	/* 公钥,邮箱 */
	"pubKey":"",
	/* 加密字符串:sha256(版本号+方法名+公钥+私钥) */
	"encrypt":"",
    /* 数据 */
	"data":
	{
	}
}
						</textarea>
					<input type="submit" value="提交">
				</form>
			</td>
		</tr>

		<tr>
			<td>webUrl列表</td>
			<td>
				<form action="${rootPath }/outer/server.htm" method="post"
					target="blank">
					上行参数:
					<textarea rows="20" cols="100" name="json">
{
    /* 版本 */
    "version": "1",
    /* 方法名 */
    "method": "webUrlList",
	/* 公钥,邮箱 */    
    "pubKey": "",
    /* 加密字符串:sha256(版本号+方法名+公钥+私钥) */
    "encrypt": "",
    /* 数据 */
    "data": {
        /* 当前页 */
        "currentPage": "1",
        "pageSize": "2",
        /* 客户端类型:0:客户端,1:服务器 */
        "clientType":"0",
    }
}
						</textarea>
					<input type="submit" value="提交">
				</form>
			</td>
			<td>响应体: <textarea rows="20" cols="100" name="json">
{
    "code": 0, 
    "data": {
        "list": [
            {
                "request": "111", 
                "statusStr": "启用", 
                "pubTime": "2019-10-30 14:36:06", 
                "enumsMap": {
                    "STATUS-1": "启用", 
                    "STATUS-0": "禁用"
                }, 
                "updateTime": "2019-10-30 12:25:08", 
                "content": "1", 
                "url": "11", 
                "websiteId": 1, 
                "webid": {}, 
                "createTime": "2019-10-30 12:25:08", 
                "header": "111", 
                "id": 7, 
                "status": 1
            }
        ]
    }, 
    "info": "成功"
}
						</textarea>
			</td>
		</tr>

		<tr>
			<td>orderUser列表</td>
			<td>
				<form action="${rootPath }/outer/server.htm" method="post"
					target="blank">
					上行参数:
					<textarea rows="20" cols="100" name="json">
{
    /* 版本 */
    "version": "1",
    /* 方法名 */
    "method": "orderUserList",
	/* 公钥,邮箱 */    
    "pubKey": "",
    /* 加密字符串:sha256(版本号+方法名+公钥+私钥) */
    "encrypt": "",
    /* 数据 */
    "data": {
        /* 当前页 */
        "currentPage": "1",
        "pageSize": "2",
        /* 客户端类型:0:客户端,1:服务器 */
        "clientType":"0",
    }
}
						</textarea>
					<input type="submit" value="提交">
				</form>
			</td>
			<td>响应体: <textarea rows="20" cols="100" name="json">
{
    "code": 0, 
    "data": {
        "list": [
            {
                "request": "111", 
                "statusStr": "启用", 
                "pubTime": "2019-10-30 14:36:06", 
                "enumsMap": {
                    "STATUS-1": "启用", 
                    "STATUS-0": "禁用"
                }, 
                "updateTime": "2019-10-30 12:25:08", 
                "content": "1", 
                "url": "11", 
                "websiteId": 1, 
                "webid": {}, 
                "createTime": "2019-10-30 12:25:08", 
                "header": "111", 
                "id": 7, 
                "status": 1
            }
        ]
    }, 
    "info": "成功"
}
						</textarea>
			</td>
		</tr>

		<tr>
			<td>webUrl详情</td>
			<td>
				<form action="${rootPath }/outer/server.htm" method="post"
					target="blank">
					上行参数:
					<textarea rows="20" cols="100" name="json">
{
    /* 版本 */
	"version":"1",
	/* 方法名 */
	"method":"webUrlInfo",
	/* 公钥,邮箱 */
	"pubKey":"",
	/* 加密字符串:sha256(版本号+方法名+公钥+私钥) */
	"encrypt":"",
    /* 数据 */
	"data":
	{
	"id": "21"
	}
}
						</textarea>
					<input type="submit" value="提交">
				</form>
			</td>
			<td>响应体: <textarea rows="20" cols="100" name="json">
{假的 不可看
    "code": 0, 
    "data": {
        "list": [
            {
                "request": "111", 
                "statusStr": "启用", 
                "pubTime": "2019-10-30 14:36:06", 
                "enumsMap": {
                    "STATUS-1": "启用", 
                    "STATUS-0": "禁用"
                }, 
                "updateTime": "2019-10-30 12:25:08", 
                "content": "1", 
                "url": "11", 
                "websiteId": 1, 
                "webid": {}, 
                "createTime": "2019-10-30 12:25:08", 
                "header": "111", 
                "id": 7, 
                "status": 1
            }
        ]
    }, 
    "info": "成功"
}
						</textarea>
			</td>
		</tr>

		<tr>
			<td>webUrl更新</td>
			<td>
				<form action="${rootPath }/outer/server.htm" method="post"
					target="blank">
					上行参数:
					<textarea rows="20" cols="100" name="json">
{
    "method": "webUrlUpdate", 
    "data": {
        "failedCount": 0, 
        "response": "",       
        "succedCount": 1, 
        "responseHeader": {
            "Transfer-Encoding": "chunked|-->", 
            "code": "200", 
            "Server": "nginx|-->", 
            "Connection": "keep-alive|-->", 
            "Pragma": "no-cache|-->", 
            "Date": "Sat, 02 Nov 2019 02:16:52 GMT|-->", 
            "null": "HTTP/1.1 200 OK|-->", 
            "Cache-Control": "no-store, no-cache, must-revalidate, post-check=0, pre-check=0|-->", 
            "Set-Cookie": "PHPSESSID=9969fa8f332ce4ba93d24a2bc2a8fb8a; path=/|-->", 
            "Vary": "Accept-Encoding|-->", 
            "Expires": "Thu, 19 Nov 1981 08:52:00 GMT|-->", 
            "Content-Type": "text/html; charset=utf-8|-->"
        }, 
        "id": "21", 
        "totalCount": 1
    }, 
    "encrypt": "1", 
    "version": "1", 
    "pubKey": "1"
}
						</textarea>
					<input type="submit" value="提交">
				</form>
			</td>
			<td>响应体: <textarea rows="20" cols="100" name="json">
{
    "code": 0, 
    "info": "成功"
}
						</textarea>
			</td>
		</tr>

		<tr>
			<td>客户端状态</td>
			<td>
				<form action="${rootPath }/outer/server.htm" method="post"
					target="blank">
					上行参数:
					<textarea rows="20" cols="100" name="json">
{
    /* 版本 */
	"version":"1",
	/* 方法名 */
	"method":"judgeClientStatus",
	/* 公钥,邮箱 */
	"pubKey":"",
	/* 加密字符串:sha256(版本号+方法名+公钥+私钥) */
	"encrypt":"",
    /* 数据 */
	"data":
	{
	}
}
						</textarea>
					<input type="submit" value="提交">
				</form>
			</td>
			<td>响应体: <textarea rows="20" cols="100" name="json">
{
    "code": 0, 
    "data": {
        "one": {}
    }, 
    "info": "成功"
}
						</textarea>
			</td>
		</tr>


		<tr>
			<td>批量添加</td>
			<td>
				<form action="${rootPath }/outer/server.htm" method="post"
					target="blank">
					上行参数:
					<textarea rows="20" cols="100" name="json">
{
    /* 版本 */
	"version":"1",
	/* 方法名 */
	"method":"batchInsert",
	/* 公钥,邮箱 */
	"pubKey":"",
	/* 加密字符串:sha256(版本号+方法名+公钥+私钥) */
	"encrypt":"",
    /* 数据 */
	"data":[
				{
					"ip":"41.232.44.110",
					"cookieTarget":"fr=18dPI6sDioN8i406O..BdtQeU.gX.AAA.0.0.BdtQfO.AWW5WEA_;sb=lAe1XfKjZ5egw10XZH1RvmNq;",
					"email":"1225444@qq.com",
					"phone":"12232323",
				},	
				{
					"email":"1225@qq.com",
					"phone":"12232323",
				},	
			]  
}
						</textarea>
					<input type="submit" value="提交">
				</form>
			</td>
			<td>响应体: <textarea rows="20" cols="100" name="json">
{
    "code": 0, 
    "data": {
        "effect":1,
        "id":32,
    }, 
    "info": "成功"
}
						</textarea>
			</td>
		</tr>

		<tr>
			<td>国家列表</td>
			<td>
				<form action="${rootPath }/outer/server.htm" method="post"
					target="blank">
					上行参数:
					<textarea rows="20" cols="100" name="json">
{
    /* 版本 */
    "version": "1",
    /* 方法名 */
    "method": "sysCountryList",
	/* 公钥,邮箱 */    
    "pubKey": "",
    /* 加密字符串:sha256(版本号+方法名+公钥+私钥) */
    "encrypt": "",
    /* 数据 */
    "data": {
    }
}
						</textarea>
					<input type="submit" value="提交">
				</form>
			</td>
			<td>响应体: <textarea rows="20" cols="100" name="json">

						</textarea>
			</td>
		</tr>
	</table>
</body>
</html>